package com.tql.pandian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tql.pandian.entity.TsqStapBaseEntity;
import com.tql.pandian.entity.dto.MaterialCaseDTO;
import com.tql.pandian.entity.vo.SemiMaterialVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 物料基础Mapper接口
 *
 * @author chenzhiqiang
 * @date 2024-02-01
 */
@Mapper
public interface TqlStapBaseEntityMapper extends BaseMapper<TsqStapBaseEntity> {

    /**
     * 新增物料基础
     *
     * @param tqlStapBase 物料基础
     * @return 结果
     */
    public int insertTqlStapBase(TsqStapBaseEntity tqlStapBase);


    List<TsqStapBaseEntity> selectStapBaseList(TsqStapBaseEntity tqlStapBase);

    List<SemiMaterialVo> getSemiMaterial(MaterialCaseDTO materialCaseDTO);
}
